package com.xqls.service.impl;

import com.xqls.dal.dao.RainwaterDischargeRealdataRecordDao;
import com.xqls.dal.model.RainwaterDischargeRealdataRecord;
import com.xqls.service.RainwaterDischargeRealdataRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by hdg on 2017/7/3.
 */
@Service
public class RainwaterDischargeRealdataRecordServiceImpl implements RainwaterDischargeRealdataRecordService{
    @Autowired
    RainwaterDischargeRealdataRecordDao RainwaterDischargeRealdataRecordDao;
    @Override
    public int insertList(List<RainwaterDischargeRealdataRecord> intakeList) {
        return RainwaterDischargeRealdataRecordDao.insertList(intakeList);
    }

    @Override
    public int selectId() {
        return RainwaterDischargeRealdataRecordDao.selectId();
    }

    @Override
    public List<Map<String, Object>> selectByMap(Map<String, Object> map) {
        return RainwaterDischargeRealdataRecordDao.selectByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectAll() {
        return RainwaterDischargeRealdataRecordDao.selectAll();
    }
}
